package org.example.Decorator;

import java.util.Arrays;

/**
 * @author wangbin
 * @date 2024/4/18
 * @vesion 1.0
 */
public class CoffeeBar {
    public static void main(String[] args) {
        Drink longBlack = new LongBlack();

        System.out.println("args = " +longBlack.getPrice());
        System.out.println("args = " +longBlack.cost());

        Drink longBlack2 = new Milk(new LongBlack());


        System.out.println("args = " +longBlack2.getDes());
        System.out.println("args = " +longBlack2.getPrice());
        System.out.println("args = " +longBlack2.cost());
    }
}
